package J1_6;

import java.util.Scanner;

public class J106task2 {
    public static void main(String[] args) {
        double height,wight;
        int cont=0;
        height=8844.43*100*100;
        Scanner scanner =new Scanner(System.in);
        System.out.print("输入纸张厚度(毫米):");
        wight=scanner.nextDouble();
        while (true){
            wight+=wight;
            cont++;
            if (wight>=height){
                break;
            }
        }
        System.out.println("需要"+cont+"次,才能使纸张厚度达到珠穆朗玛峰高度");
    }
}
